﻿'use strict';

angular.module('KonsolAntresol', [
    'shared',
    'home',
    'services',
    'portfolio',
    'feedbacks',
    'contacts'

]).config(function ($stateProvider, $urlRouterProvider, $locationProvider) {
    $stateProvider.state('home', {
        url: '/home',
        templateUrl: '/Areas/User/AngularApp/pages/home/views/home.html',
        controller: 'homeController'
    });
    $urlRouterProvider.otherwise('/home');
}).run(['$rootScope', '$state', '$stateParams', function ($rootScope, $state, $stateParams) {
    $rootScope.$state = $state;
    $rootScope.$stateParams = $stateParams;
}]);